<?php
class UserModel extends Model {
	public function setPassword ($password) {
		$this->data['password'] = md5(conf('general.salt') . $password);
	}
}
